package com.itwlj.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    //用户id
    private Long id;

    //用户名
    private String name;

    //账号
    private String account;

    //密码
    private String password;

    //手机号
    private String phone;

    //性别
    private String sex;

    //类型
    private Integer type;

    //余额
    private BigDecimal balance;

    //状态
    private Integer status;

    //创建时间
    private LocalDateTime createTime;

    //更新时间
    private LocalDateTime updateTime;

    //创建人
    private Long createUser;

    //修改人
    private Long updateUser;
}
